﻿using Script.UiSystem.Room;
using SimpleTools.Json;

namespace Script.NetSystem.Services.RoomAndBattle.RoomService.Handler
{
    public class ChangeReady : IRoomHandler
    {

        public void Handler(RoomController controller, JsonData jsonData)
        {
            controller.UpdateReadyStatus(jsonData.GetInt("id"), jsonData.GetBool("isReady"));
        }
    }
}